'''
Created on Sep 14, 2016

@author: wangpeng
'''
import unittest
import re
import shutil
import pysftp
import time
import ftplib
print time.ctime()
print time.time()

print time.strftime("%a %b %d %H:%M:%S %Y", time.localtime())
print time.strftime("%Y-%m-%d_%H:%M:%S")
currenttime = time.strftime("%Y_%m_%d_%H_%M_%S")

target = r'\\10.84.100.35\auto_test\report_save\huawei_radar\huawei_5x\\'
addtarget = target + currenttime
print addtarget
# srv = pysftp.Connection(host=r"\\10.84.100.35\auto_test\report_save\huawei_radar\huawei_5x",
# 
# username="Administrator",password="tcldqa2015")
# class Test(unittest.TestCase):
class Test(unittest.TestCase):
    def setUp(self):
        pass


    def tearDown(self):
        pass


    def testName(self):
        normal_value = [24,25,26,27,28,29,30,31,32,33,34,35]
        validate_number = int(26)
        
        self.assertTrue(validate_number in normal_value, "aaaaa")
        shutil.copytree(r'E:\eclipse\huawei_rader\all_mobile\report\huawei_5x',addtarget)
    
if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.testName']
    unittest.main()